import 'package:boss/ui/widget/center_title_app_bar.dart';
import 'package:flutter/material.dart';
import 'package:hi_common/hi_common.dart';
import 'package:router/annotation.dart';

import 'widget/takeout_management_content.dart';

@RouterConfig(TakeoutManagementPage.pageName)
class TakeoutManagementPage extends StatefulWidget {
  static const pageName = '/takeoutManagementPage';

  @override
  _TakeoutManagementPageState createState() => _TakeoutManagementPageState('外卖管理');
}

class _TakeoutManagementPageState extends BaseState<TakeoutManagementPage> {
  _TakeoutManagementPageState(String pageName) : super(pageName);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CenterTitleAppBar(
        title: '外卖管理',
      ),
      body: TakeoutManagementContent(),
    );
  }
}
